package de.wittekind.bundesjugendspiele.server.interfaces;

import java.io.IOException;
import java.rmi.Remote;

public interface Try extends Remote {

	// getters
	/**
	 * @return A unique persistent ID
	 */
	int getID() throws IOException;

	double getValue() throws IOException;

	Unit getUnit() throws IOException;

	Discipline getDiscipline() throws IOException;

	// setters
	void setValue(double value) throws IOException;

	void setUnit(Unit unit) throws IOException;

	void setDiscipline(Discipline discipline) throws IOException;
}
